﻿using FreeSql.DataAnnotations;
using System.ComponentModel;

namespace D.Wx.Entities
{
    /// <summary>
    /// 用户
    /// </summary>
    [Table(Name = "SysWxUserEntity")]
    [Description("用户")]
    public class SysWxUserEntity : BaseEntity
    {
        /// <summary>
        /// 订单号
        /// </summary>
        [Column(DbType = "varchar", StringLength = 64)]
        [Description("订单号")]
        public string? OrderId { get; set; }

        /// <summary>
        /// 标识
        /// </summary>
        [Column(DbType = "varchar", StringLength = 64)]
        [Description("标识")]
        public string? OpenId { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        [Column(DbType = "varchar", StringLength = 64)]
        [Description("昵称")]
        public string? NickName { get; set; }

        /// <summary>
        /// 来源平台
        /// </summary>
        [Column(DbType = "varchar", StringLength = 64)]
        [Description("来源平台")]
        public string? SysPlatformUuid { get; set; }

        /// <summary>
        /// 分配的员工
        /// </summary>
        [Column(DbType = "varchar", StringLength = 64)]
        [Description("分配的员工")]
        public string? SysAdminId { get; set; }
    }
}
